#include "../SWFTag.h"

TagDefineEditText::TagDefineEditText()
{

}

void TagDefineEditText::setData(char* data, size_t len)
{
	SWFTag::setData(data, len);
	SWFInputStream stream(data, len);
	this->characterID = stream.readUI16();
	Rect bounds = stream.readRect();
	stream.alignBits();
	UB hasText = stream.readUB(1);
	UB WordWrap = stream.readUB(1);
	UB Multiline = stream.readUB(1);
	UB Password = stream.readUB(1);
	UB ReadOnly = stream.readUB(1);
	UB HasTextColor = stream.readUB(1);
	UB HasMaxLength = stream.readUB(1);
	UB HasFont = stream.readUB(1);
	UB HasFontClass = stream.readUB(1);
	UB AutoSize = stream.readUB(1);
	UB HasLayout = stream.readUB(1);
	UB NoSelect = stream.readUB(1);
	UB Border = stream.readUB(1);
	UB WasStatic = stream.readUB(1);
	UB HTML = stream.readUB(1);
	UB UseOutlines = stream.readUB(1);
}